package com.example.xiefeihong.chatroom.dto;

/**
 * Created by xiefeihong on 17-9-30.
 */

public class ChatMsg {

    private User formUser;

    private User toUser;

    private String msg;

    public ChatMsg() {

    }

    public ChatMsg(User toUser) {
        this.toUser = toUser;
    }

    public ChatMsg(User formUser, String msg) {
        this.formUser = formUser;
        this.msg = msg;
    }

    public User getFormUser() {
        return formUser;
    }

    public void setFormUser(User formUser) {
        this.formUser = formUser;
    }

    public User getToUser() {
        return toUser;
    }

    public void setToUser(User toUser) {
        this.toUser = toUser;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
